package cn.bdqn.domain;

import java.io.Serializable;

/**
 * 路线实体类
 * @author dkj
 */
public class Routes implements Serializable {

    /**
     * id
     */
    private Integer id;

    /**
     * 起始点
     */
    private String origin;

    /**
     * 起始经度
     */
    private String originLongitude;

    /**
     * 起始纬度
     */
    private String originLatitude;

    /**
     * 终点
     */
    private String destination;

    /**
     * 终点经度
     */
    private String destinationLongitude;

    /**
     * 终点纬度
     */
    private String destinationLatitude;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin == null ? null : origin.trim();
    }

    public String getOriginLongitude() {
        return originLongitude;
    }

    public void setOriginLongitude(String originLongitude) {
        this.originLongitude = originLongitude == null ? null : originLongitude.trim();
    }

    public String getOriginLatitude() {
        return originLatitude;
    }

    public void setOriginLatitude(String originLatitude) {
        this.originLatitude = originLatitude == null ? null : originLatitude.trim();
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination == null ? null : destination.trim();
    }

    public String getDestinationLongitude() {
        return destinationLongitude;
    }

    public void setDestinationLongitude(String destinationLongitude) {
        this.destinationLongitude = destinationLongitude == null ? null : destinationLongitude.trim();
    }

    public String getDestinationLatitude() {
        return destinationLatitude;
    }

    public void setDestinationLatitude(String destinationLatitude) {
        this.destinationLatitude = destinationLatitude == null ? null : destinationLatitude.trim();
    }

    @Override
    public String toString() {
        return "Routes{" +
                "id=" + id +
                ", origin='" + origin + '\'' +
                ", originLongitude='" + originLongitude + '\'' +
                ", originLatitude='" + originLatitude + '\'' +
                ", destination='" + destination + '\'' +
                ", destinationLongitude='" + destinationLongitude + '\'' +
                ", destinationLatitude='" + destinationLatitude + '\'' +
                '}';
    }
}
